home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 March / EnigmA AMIGA RUN 05 (1996)(G.R. Edizioni)(IT)[!][issue 1996-03][Skylink CD IV].iso / earcd / antvirus / trsivw58.lha / VirusWorkshop / Arexx / LHAFile.rexx < prev    next >
OS/2 REXX Batch file  |  1995-11-11  |  700b  |  27 lines

  1.  
  2. /* Arexxtestscript for the viruskiller VirusWorkshop from Markus Schmall */
  3. /* Version 1.0 (5.6.1995)                                                */
  4.  
  5. OPTIONS RESULTS                             /* enable return codes     */
  6.  
  7. address 'VWPort'
  8.  
  9.  
  10. OPTIONS FAILAT 999                          /* ignore warnings         */
  11.  
  12. /* ------------------------ inSERT YOUR CODE HERE: ------------------- */
  13.  
  14. say "Checking a LHA/LZX archive..."
  15. "LFILE ram:test.lha"
  16. say "Checking finished..."
  17. IF rc=15 THEN say "Error while LHA operations..."
  18. IF rc=0 THEN say "No virus found..."
  19. IF rc=1 THEN say "Virus found and deleted...."
  20.  
  21. /* ---------------------------- END OF YOUR CODE --------------------- */
  22.  
  23. EXIT
  24.  
  25.  
  26.  
  27.